<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache"> 
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> 
<META HTTP-EQUIV="Expires" CONTENT="0"> 
<title></title>
<meta charset="utf-8">
 <script type="text/javascript">
        document.write('<scri' + 'pt src="./js/init.js?v=' + Math.random() + '"  charset="utf-8" type="text/javascript"></s' + 'cript>');
    </script>
<style>
.w100{width:90px;}

.ui-backup .ui-autocomplete {
    width: 600px !important;
}
</style>
</head>
<body>
<header></header>
<div class="wrapper wrapper-video"> 
	<nav>
	<ul class="breadcrumb">
		<li>频道<span class="divider"> &gt; </span></li>
		<li>编辑</li>
	</ul>
	</nav>

    <form class="form-horizontal channel-edit-form" mathod="post"  class="">
        <div class="form-container">
		<div class="container container-album">
		频道基础信息
		</div>
		<hr class="dotted" />
            <div class="container container-album">
				<div class="control-group" >
					<label class="control-label" >直播频道名称<span class="form-must">*</span>：</label>
					<div class="controls">
						<input type='text' name='name' value='' placeholder="最多输入40个字符" />
					</div>
				</div>

				<div class="control-group">
					<label class="control-label" >直播类型<span class="form-must">*</span>：</label>
						<div class="controls" wrap-data="liveType">
								<select name='liveType' class="query-select-control" autocomplete="off">
								</select>						
						</div>
				</div>

				<div class="control-group" id="carouselTableNo" style="display:none;">
				</div>
				
				<div class="control-group">
					<label class="control-label" >频道类型<span class="form-must">*</span>：</label>
						<div class="control-group" wrap-data="type">    
								<select name='type' class="query-select-control" autocomplete="off">
								</select>
						</div>
				</div>

				<div class="control-group" id="automationBlock">
					<label class="control-label" >节目单类型<span class="form-must">*</span>：</label>
					<div class="control-group" wrap-data="type">
						<select name='automation' class="query-select-control" autocomplete="off">
						</select>
					</div>
				</div>

				<div class="control-group" id="ucode">
					<label class="control-label" >关联节目单<span class="form-must">*</span>：</label>
					<div class="controls">
						<input type="text"  
						value="" name="universalCode" placeholder="AHWS" class='universalCodeSuggest'/>

						<span class="help-inline">通常拼音首字母开头，如AHWS、AHWS23等</span>
					</div>
				</div>

				<div class="control-group" id="sDelay">
					<label class="control-label" >全端压流延时<span class="form-must">*</span>：</label>

					<div class="controls">
						<input type="text" 
							   value="0" name="sliceDelay" placeholder="输入压流延时"/>
						<span class="help-inline">秒</span>
						<span style="color:red;padding-left: 5px;" id="sDelayTip"></span>
					</div>
				</div>

        <div class="control-group" id="userCountBlock">
          <label class="control-label" >预估并发量<span class="form-must">*</span>：</label>
          <div class="control-group" wrap-data="type">
            <select name='userCount' class="query-select-control" autocomplete="off">
            </select>

						<span class="help-inline">注：挂流之后就不能再修改！预估越准确，会尽大可能减少延时。</span>
          </div>
        </div>

				<div class="control-group">
					<label class="control-label" >最大回看时间<span class="form-must">*</span>：</label>
					<div class="controls">						<input type="text" 
																		 value="48" name="maxPlaybackPeriod"
																		 placeholder="输入回看时间"/>
						<span class="help-inline">小时 （注：回看时间要大于节目时间）</span>
						<span id="mpp-tps" style="color:red"></span>
					</div>
				</div>

				<div class="control-group">
					<label class="control-label" >频道启用状态<span class="form-must">*</span>：</label>

					<div class="controls"> 
						<label class="radio inline"><input checked="" name="isEnable" value="1" type="radio">是 </label>
						<label class="radio inline"> <input name="isEnable" value="0" type="radio">否 </label> 
					</div>

				</div>

							<div id="isTest">
								<div class="control-group" >
									<label class="control-label" >是否正式流信号<span class="form-must">*</span>：</label>

									<div class="controls">
										<label class="radio inline"><input checked="" name="formal" value="1" type="radio">正式 </label>
										<label class="radio inline"> <input name="formal" value="0" type="radio">测试 </label>
									</div>
                                    <span class="help-inline">注：正式频道会短信监控，测试时请修改为测试，测试结束请务必修改为正式</span>
								</div>

								<div class="control-group">
									<label class="control-label" >是否周期性<span class="form-must">*</span>：</label>

									<div class="controls">
										<label class="radio inline"><input name="cyclical" value="1" type="radio">是 </label>
										<label class="radio inline"> <input checked="" name="cyclical" value="0" type="radio">否 </label>
									</div>

								</div>
							</div>

							<div class="control-group">
					<label class="control-label" >频道描述：</label>
					<div class="controls">
        <textarea  name="description" class="input-xxlarge" rows="8" placeholder="输入频道描述" ></textarea>
		<span class="help-inline">剩余字数：<span class="leftWordsCount">300</span></span>
					</div>
				</div>

            </div>

        </div>

<div class="form-container">
		<div class="container container-album">
		频道运营信息
		</div>
		<hr class="dotted" />

		<!--<div class="control-group">-->
					<!--<label class="control-label" >弹幕开关<span class="form-must">*</span>：</label>-->
						<!--<div class="controls">-->
						<!--<label class="radio inline"><input type="radio" name="allowPopups" value="1" checked="checked">开启</label>-->
						<!--<label class="radio inline"><input type="radio" name="allowPopups" value="0">关闭</label></div>-->
		<!--</div>		-->
	
		<div class="control-group">
					<label class="control-label" >显示评论<span class="form-must">*</span>：</label>
						<div class="controls">
						<label class="radio inline" style="margin-right:32px;"><input type="radio" name="shouldDisplay" value="1" checked="checked">是  </label>
						<label class="radio inline"><input type="radio" name="shouldDisplay" value="0">否</label></div>
		</div>	
		
		<div class="control-group">
			<label class="control-label" >评论关联：</label>
			<div class="controls">
				<input type="text"  
				value="" name="qitanId" placeholder="不输入奇谈ID，系统将自动生成" class='qitanSuggest' />
			</div>
		</div>		
		
		<div class="control-group" id="category-control-div">
			<label class="control-label" >大小分类<span class="form-must">*</span>：</label>

			<label class="control-label"  style="width:60%;text-align:left;">
			<a id="category-a">设置分类【PPS客户端使用】>></a>
			<span class="tagshow" style="color:#333;" record=""></span>
			<span id="category-warn" style="display:none; color:#AAAAAA;">测试流不可设置大小分类</span>
			</label>

			<div class="controls">
				<input type="hidden" value="" name="tag" />
			</div>
			<!--
			<div class="controls">
				<input type="text"  
				value="" name="tag" />
			</div>
			-->

			<div id="categories-dlg" style="display:none;">数据加载中...</div>
			
		</div>

		<div class="control-group">
			<label class="control-label" >pps百科id：</label>
			<div class="controls">
				<input type="text"  
				value="" name="ppsBaikeId" placeholder="输入pps百科id" />
			</div>

		</div>

	<div class="control-group" id="subjectUrlGroup">
		<label class="control-label" >专题页url：</label>

		<div class="controls">
			<input type="text"  style="width:350px"
				   value="" name="subjectUrl" placeholder="输入专题页url"/>
		</div>

	</div>

		<div class="control-group">
					<label class="control-label" >是否奇艺出品：</label>
						<div class="controls">
						<label class="radio inline"><input type="radio" name="isQiyiProduced" value="1">是</label>
						<label class="radio inline"><input type="radio" name="isQiyiProduced" value="0" checked="checked">否</label>(“奇艺出品”的内容，会影响前台的封面图右上角展现“奇艺出品”角标)
						</div>
		</div>		
	
		<div class="control-group">
					<label class="control-label" >是否独播：</label>
						<div class="controls">
						<label class="radio inline"><input type="radio" name="exclusiveStatusIqiyi" value="1">是  </label>
						<label class="radio inline"><input type="radio" name="exclusiveStatusIqiyi" value="0" checked="checked">否</label>(“独播”的内容，会影响前台的封面图右上角展现“独播”角标)
						</div>
		</div>	
		
		<div class="control-group">
					<label class="control-label" >播放器提示信息：</label>
						<div class="controls" wrap-data="liveType">
								<select name="interruptHintType" class="query-select-control valid" autocomplete="off">
								</select>						
						</div>
		</div>

    <div class="control-group" id="alternatePlayCollectionIdsGroup" style="display:none;">
        <label class="control-label" >备播库节目ID<span class="form-must">*</span>：</label>
        <div class="controls">
            <input type="text" name="alternatePlayCollectionInput"
                   value="" placeholder="输入节目名称" class='alternatePlayCollectionSuggest'/>
            <input name="alternatePlayCollection" type="hidden" />
            <span class="suggest" id="alternatePlayCollectionIds"></span>
        </div>
    </div>
</div>
<div class="form-container">

		<div class="container container-album">


<span style="font-weight:bold;">截图编辑</span><span style="color:red;">*</span> 

&nbsp;&nbsp;常规直播，上传为台标图。其它为海报图。允许上传jpg、jpeg、png格式图片，图片大小不超过5M
				<div class="control-group" >
					
					<div class="controls">
						<input type="hidden" name="logoUrl" />
					</div>
				</div>
		</div>
		<hr class="dotted" />

    <div class="module-container-screen-crop layout2container" id="AlbumEditScreenCorp">
	   
		
        <input type="hidden" name="useType" value="" />

        <div class="leftnav results wellbox">
            <div class="title">缩略图</div>
           
		    

            <button type="button" class="btn result" data-width="16" data-height="9" disabled>
                <div class="header hintext">裁剪 16:9</div>
                <div class="preview" style="width: 128px; height: 72px">
                    <div class="placeholder" style="width: 126px; height: 70px; line-height: 70px">未完成</div>
                </div>
            </button>
           
                <button type="button" class="btn result" data-width="3" data-height="2" disabled>
                    <div class="header hintext">裁剪 3:2</div>
                    <div class="preview" style="width: 120px; height: 80px">
                        <div class="placeholder" style="width: 118px; height: 78px; line-height: 78px">未完成</div>
                    </div>
                </button>
                <button type="button" class="btn result" data-width="3" data-height="4" disabled>
                    <div class="header hintext">裁剪 3:4</div>
                    <div class="preview" style="width: 90px; height: 120px">
                        <div class="placeholder" style="width: 88px; height: 118px; line-height: 118px">未完成</div>
                    </div>
                </button>
                <button type="button" class="btn result" data-width="1" data-height="1" disabled>
                    <div class="header hintext">裁剪 1:1</div>
                    <div class="preview" style="width: 100px; height: 100px">
                        <div class="placeholder" style="width: 98px; height: 98px; line-height: 98px">未完成</div>
                    </div>
                </button>
        </div>
		




        <div class="content wellbox">
            <div class="title">原图</div>
            <div class="cropimg"></div>
            <div class="operation disabled">
                <div class="slideshow layout3container" style="display: inline-block">
                    <div class="leftnav">
                        <div class="buttons text-center">
                            <div style="position:relative">
                                <button type="button" class="btn btn-block button-manual" disabled>手动上传</button>
                                <input class="uploadButton" type="file" name="files[]" multiple disabled accept=".jpg,.jpeg,.png">
                            </div>
                            <button type="button" class="btn btn-block button-online" disabled>在线视频截图</button>
                        </div>
                        <button class="btn nav left" disabled></button>
                    </div>
                    <div class="rightnav">
                        <button class="btn nav right" disabled></button>
                    </div>
                    <div class="outter content"><ul class="carousel gallery">
                    </ul></div>
                </div>
            </div>
        </div>
        <div class="footer">
        </div>
    </div>
</div>


		<div class="module-container">
			<div class="form-actions">
				<button id="Submit" type="button" class="btn btn-orange btn-large">提交</button>
			</div>
		</div>
    </form>
</div> 

<script type="text/x-jquery-tmpl" id="categories">
<div id="Container-ppsCategory" style="height:auto">

        <div class="control-group" >
           
            <div class="controls" id="category-val">
			已选分类：
            </div>
        </div>

	<div class='controls'>
        <select name='' class="input-medium parent_category" autocomplete="off" multiple="multiple" style="text-align:center;width:200px;height:250px;">
			{{each(i,pc) parentCategory}}
					<option value="{{= pc.id}}">{{= pc.name}}</option>
			{{/each}}           
        </select>
        <select name='' class="input-medium sub_category" autocomplete="off" multiple="multiple" style="text-align:center;width:200px;height:250px;">
        
        </select>
    </div>
</div>
<div class="control-group"></div>

</script> 

<script type="text/javascript">require(["epg"],function(){Channel.Action.editRun()});</script>
</body> </html>